<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta name="Generator" content="68ECSHOP v4_2"/>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta name="Keywords" content=""/>
        <meta name="Description" content=""/>
        <title>物流信息 -- “淘嘟嘟”商城</title>
        <link rel="stylesheet" type="text/css" href="__CSS__/home/68ecshop_common.css"/>
        <link rel="stylesheet" type="text/css" href="__CSS__/home/user.css"/>
        <link rel="stylesheet" type="text/css" href="__CSS__/home/logistics.css"/>
        <style type="text/css">
            .user-right .box ul li{overflow: visible;}
            #progressbar li {
                    color: #909090;
                    margin: 0;
                    padding: 0;
                    float: left;
                    height: 100px;
                    width: 257px;
                    text-align: left
            }
            #progressbar .step-4-current{
                width: 81px;
            }
        </style>
    </head>
    <body>
        <include file="Public/head_a" />
        <include file="Public/head_b" />
        <include file="Public/head_c" />
        <div class="margin-w1210 clearfix">
            <!--S用户中心公共左边-->
            <include file="Public/user_left"/>
            <!--E用户中心公共左边-->
            <div class="user-right">
                <div class="box" style="margin-left: 10px; width: 989px;">
                    <div class="order-detail">
                        <div class="detail-title">
                            <span class="indent">包裹信息</span>
                        </div>
                        <div class="detail-complaint" id="complaintDiv">
                        </div>
                        <div class="detail-content">
                            <?php if(!empty($arr->data)){ ?>
                            <div id="progressbar">
                                <ul class="detail-progressbar">
                                    
                                    <?php if($arr->status  == 4){ ?>
                                        <li class="step-1-current"></li>
                                        <li class=""></li>
                                        <li class=""></li>
                                        <li class=""></li>
                                    <?php }elseif($arr->status  == 3){ ?>
                                        <li class="step-1-done"></li>
                                        <li class="step-2-current"></li>
                                        <li class=""></li>
                                        <li class=""></li>
                                    <?php }elseif($arr->status  == 8){ ?>
                                        <li class="step-1-done"></li>
                                        <li class="step-2-done"></li>
                                        <li class="step-3-current"></li>
                                        <li class=""></li>
                                    <?php }elseif($arr->status  == 6){ ?>
                                        <li class="step-1-done"></li>
                                        <li class="step-2-done"></li>
                                        <li class="step-3-done"></li>
                                        <li class="last step-4-current"></li>
                                    <?php } ?>
                                </ul>
                            </div>
                            <div class="detail-panel">
                                <div class="panel-package">
                                    <div class="package-title">
                                        <div class="complain-box">
                                        </div>
                                        <h3 class="title-text">您的包裹
                            <?php
                                switch ($arr->status) {
                                    case 3:
                                        echo '在途中';
                                        break;
                                    case 4:
                                        echo '已揽件';
                                        break;
                                    case 5:
                                        echo '疑难件';
                                        break;
                                    case 6:
                                        echo '已签收';
                                        break;
                                    case 7:
                                        echo '退签';
                                        break;
                                    case 8:
                                        echo '派件中';
                                        break;
                                    case 9:
                                        echo '退回';
                                        break;
                                    default:
                                        echo '物流单号暂无结果';
                                        break;
                                }
                            ?>
                                        </h3>
                                        <div class="title-en"></div>
                                    </div>
                                    <div class="package-status">
                                        <div class="status-box" id="status_list">
                                            <ul id="J_listtext2" class="status-list">
                                                <?php foreach($arr->data as $key=>$obj){ ?>
                                                    <?php if($key == 0){ ?>
                                                    <li style="color:#f00;">
                                                        <span class="date"><?php echo $obj->time ?></span>
                                                        <span class="text"><?php echo $obj->context ?></span>
                                                    </li>
                                                    <?php }else{?>
                                                    <li>
                                                        <span class="date"><?php echo $obj->time ?></span>
                                                        <span class="text"><?php echo $obj->context ?></span>
                                                    </li>
                                                    <?php } ?>
                                                <?php } ?>
                                            </ul>
                                        </div>
                                    </div>
                                </div>

                                <div class="panel-order ">
                                    <div class="info">
                                        <!-- ================= -->
                                        <div class="order-row">
                                            <label class="label">运单号码：</label>
                                            <span class="em"><?php echo $arr->nu; ?></span>
                                            <label class="label">物流公司：</label>
                                            <span class="em"><?php echo $arr->company; ?> </span>
                                            <label class="label">客服电话：</label>
                                            <span class="em"><?php echo $arr->phone; ?></span>
                                        </div>
                                        <!-- ================= -->
                                        <div class="order-row">
                                            <label class="label">卖家昵称：</label>
                                            <span class="em">{$arrOrder['store_name']}</span>
                                        </div>
                                        <div class="order-row row-address">
                                            <label class="label">收货地址：</label>
                                            <span class="address">
                                                <span class="em">{$arrOrder['address']['area_info']}{$arrOrder['address']['address']}</span>
                                                <span class="em">{$arrOrder['address']['true_name']}</span>
                                                <span class="em">{$arrOrder['address']['mob_phone']}</span>
                                            </span>
                                        </div>
                                        <ul class="order-list">
                                            <foreach item="v" name="arrOrder['OrderGoods']">
                                            <li>
                                                <div class="pic">
                                                    <a target="_blank" href="#">
                                                        <img src="{$v['goods_image']}!100x100" alt="{$v['goods_title']}">
                                                    </a>
                                                </div>
                                                <span class="text">{$v['goods_price']} x {$v['goods_num']}</span>
                                            </li>
                                            </foreach>
                                        </ul>
                                    </div>
                                </div>

                                <div class="panel-banner">
                                    <div id="gdcity">
                                        <img src="__IMG__/home/express.png">
                                    </div>
                                </div>
                            </div>
                            <?php }else{ ?>
                            <div class="progressbar">
                                暂无物流信息
                            </div>
                            <?php } ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="pop-mask"></div>
        <div class="site-footer">
            <div class="footer-related">
                <include file="Public/bootom_a" />
                <include file="Public/bootom_b" />
                <include file="Public/bootom_c" />
            </div>
        </div>
        <a href="#" class="big-link" data-reveal-id="myModal" data-animation="fade"></a>
    </body>
</html>